package com.bookstore.service;

import com.bookstore.domain.Book;
import java.util.List;

public interface BookService {
    public List<Book> findAll(Integer btype, String bname);

    public Integer save(Book book);

    List<Book> findByUtype(Integer utype,Integer btype,String bname);

    Book findByBid(Integer bid);

    int updateBook(Book book);

    int delByBid(Integer bid);
}
